package chances.webui.taglibs;

import java.util.Map;

@SuppressWarnings("serial")
public class TreeTag extends WebUITag {

	private String dataUrl;
	private String images;
	private String dataType;
	private String plugins;
	private String lazy;
	private String onchange;
	private String selectNodeId;
	private String oncheck;
	private boolean multiple;
	private String themes;
	private String contextMenu;
	public String getPlugins() {
		return plugins;
	}

	public void setPlugins(String plugins) {
		this.plugins = plugins;
	}

	public String getImages() {
		return images;
	}

	public void setImages(String images) {
		this.images = images;
	}

	public String getDataUrl() {
		return dataUrl;
	}

	public void setDataUrl(String dataUrl) {
		this.dataUrl = dataUrl;
	}

	@Override
	protected void initContext(Map<String, Object> context) {
		context.put("tree", this);
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getLazy() {
		return lazy;
	}

	public String getOnchange() {
		return onchange;
	}

	public String getSelectNodeId() {
		return selectNodeId;
	}

	public String getOncheck() {
		return oncheck;
	}

	public void setLazy(String lazy) {
		this.lazy = lazy;
	}

	public void setOnchange(String onchange) {
		this.onchange = onchange;
	}

	public void setSelectNode(String selectNode) {
		this.selectNodeId = selectNode;
	}

	public void setOncheck(String oncheck) {
		this.oncheck = oncheck;
	}

	public boolean isMultiple() {
		return multiple;
	}

	public void setSelectNodeId(String selectNodeId) {
		this.selectNodeId = selectNodeId;
	}

	public void setMultiple(boolean multiple) {
		this.multiple = multiple;
	}

	public String getThemes() {
		return themes;
	}

	public void setThemes(String themes) {
		this.themes = themes;
	}

	public String getContextMenu() {
		return contextMenu;
	}

	public void setContextMenu(String contextMenu) {
		this.contextMenu = contextMenu;
	}
}
